// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueWechatTitle from 'vue-wechat-title'
import $ from 'jquery'
import qs from 'qs'
import lrz from 'lrz'
import axios from './http'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import '../static/css/swiper.min.css'
import Alert from '@/comm/alert/alert.js'
import Confirm from '@/comm/alert/confirm.js'
import Loading from '@/comm/loading/loading.js'
import wx from 'weixin-js-sdk'
import QRCode from 'qrcodejs2' 
//import taskDetail from '@/comm/task-detail/index.js' 
import 'babel-polyfill'


if (Number.parseInt ===undefined) Number.parseInt = window.parseInt;

if (Number.parseFloat ===undefined) Number.parseFloat = window.parseFloat;

import identify from './comm/identify'
Vue.component('identify',identify)
Vue.use(Alert)
Vue.use(Confirm)
Vue.use(Loading)
//Vue.use(taskDetail)

Vue.config.productionTip = false
Vue.prototype.HOST = '/api'
Vue.use(VueWechatTitle)
Vue.prototype.$qs = qs
Vue.prototype.$axios = axios

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
